<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/5/28
 * Time: 13:41
 */

namespace app\api\general;

interface Konstanten
{
    //正确信息
    const SUCCESS_CODE = '200';
    const SUCCESS_MSG_CH = '获取信息成功';
    const SUCCESS_MSG_EN = 'Successful access to information';
    //错误信息
    const ERROR_CODE = '400';
    const ERROR_MSG_CH = '获取信息失败!';
    const ERROR_MSG_EN = 'getting information failure!';
    const ERROR_CODE_401 = '401';
    const ERROR_CODE_402 = '402';
    const ERROR_CODE_403 = '403';
    const ERROR_CODE_404 = '404';

    //商品信息相关信息
    const GOODS_ID_NUMBER_CH = '必须上传商品的ID';
    const GOODS_ID_NUMBER_EN = 'ID of goods must be uploaded';

}